package com.example.spring5.事务;


import lombok.*;

@ToString//toString方法
@Data//get set方法
@NoArgsConstructor//无参构造器
@AllArgsConstructor//全参构造器
@EqualsAndHashCode
//EqualsAndHashCode方法
public class Bank {
    private Long id;
    private String username;
    private Double money;

    public Bank(String username, Double money) {
        this.username = username;
        this.money = money;
    }
}

